<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>管理员登录 - 【少儿编程教学平台】</title>
    <link rel="icon" href="/img/logo.png">
    <link rel="stylesheet" type="text/css" href="/css/Manager.css">
    <script type="text/javascript" src="/js/jquery-3.4.1.min.js"></script>
    <script type="text/javascript" src="/js/layer/layer.js"></script>

</head>
<body>
<div class="headerpage"></div>

<div class="wrap">
    <div class="content">
        <div class="content-center">
            <div class="center-title">
                <div class="clogin">登录帐号</div>
            </div>
            <div class="center-content">
                <form action="mLogin.action" method="post" id="login">

                    <label class="tou">帐号</label><br>
                    <div class="kuang">
                        <input class="number" type="text" name="mname" placeholder="请输入用户名">
                    </div>
                    <br>

                    <label class="tou">密码</label><br>
                    <div class="kuang">
                        <input class="number" type="password" name="mpassword" placeholder="请输入密码">
                    </div>
                    <br><br><br>


                    <button type="button" class="btn-login">立即登录</button>
                    <br>


                </form>
            </div>
        </div>
    </div>
</div>
<div class="footerpage"></div>
<script type="text/javascript">

    $(function () {

        $(".headerpage").load("header.jsp");
        $(".footerpage").load("footer.jsp");

        $(".clogin").click(function () {
            $(".clogin").css("background-color", "white");
            $("div.cregister").css("background-color", "transparent");
        })

        $("div.cregister").click(function () {
            $("div.cregister").css("background-color", "white");
            $(".clogin").css("background-color", "transparent");
        })


        $("button").click(function () {

            $("#login").submit();

        })
    })
</script>

</body>
</html>